home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 6.2 Applications 1996 May
/
SGI IRIX 6.2 Applications 1996 May.iso
/
dist
/
impr_dev.idb
/
usr
/
share
/
catman
/
p_man
/
cat3
/
scoptions.z
/
scoptions
Wrap
Text File
|
1996-05-06
|
3KB
|
67 lines
SSSSCCCCOOOOppppttttiiiioooonnnnssss((((3333)))) IIIImmmmpppprrrreeeessssssssaaaarrrriiiioooo SSSSCCCCOOOOppppttttiiiioooonnnnssss((((3333))))
NNNNAAAAMMMMEEEE
SCOptions, SCHasOptions - scanner specific options
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
####iiiinnnncccclllluuuuddddeeee <<<<ssssttttddddiiiioooo....hhhh>>>>
####iiiinnnncccclllluuuuddddeeee <<<<ssssccccaaaannnnnnnneeeerrrr....hhhh>>>>
iiiinnnntttt SSSSCCCCOOOOppppttttiiiioooonnnnssss((((SSSSCCCCAAAANNNNNNNNEEEERRRR ****ssss))));;;;
iiiinnnntttt SSSSCCCCHHHHaaaassssOOOOppppttttiiiioooonnnnssss((((SSSSCCCCAAAANNNNNNNNEEEERRRR ****ssss))));;;;
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_S_C_O_p_t_i_o_n_s starts the scanner specific options program for _s. A scanner
specific options program provides a user interface allowing the user to
set scanning parameters that are not a part of the _l_i_b_s_c_a_n(3) interface.
The options program communicates directly with the scanner driver to set
scanner specific options, so no further interaction is required by the
scanning program.
_S_C_H_a_s_O_p_t_i_o_n_s is used to determine whether or not a scanner specific
options program exists for the scanner _s.
In both functions, _s specifies a connection with a scanner driver
obtained by a call to _S_C_O_p_e_n(3), _S_C_O_p_e_n_F_i_l_e(3), or _S_C_O_p_e_n_S_c_r_e_e_n(3).
RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
_S_C_O_p_t_i_o_n_s returns 0 if it successfully started the scanner specific
options program, and -1 if an error occurred. If an error occurs,
_S_C_O_p_t_i_o_n_s sets _S_C_e_r_r_n_o to indicate the reason for the error.
_S_C_H_a_s_O_p_t_i_o_n_s returns 1 if the scanner has a scanner specific options
program, and 0 otherwise.
EEEEXXXXEEEECCCCUUUUTTTTIIIIOOOONNNN EEEERRRRRRRROOOORRRR CCCCOOOODDDDEEEESSSS
_S_C_O_p_t_i_o_n_s will fail under the following circumstances.
SCENOOPTIONS No options for this scanner
SCEALREADYOPTIONS Options are already running for this scanner
In addition, _S_C_O_p_t_i_o_n_s may fail as the result of a failed system call, in
which case SCerrno will be set to a value from <_s_y_s/_e_r_r_n_o._h>. _S_C_O_p_t_i_o_n_s
calls the _f_o_r_k(2) and _e_x_e_c_l(2) system calls.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
_l_i_b_s_c_a_n(3), _S_C_O_p_e_n(3), _f_o_r_k(2), _e_x_e_c(2).
PPPPaaaaggggeeee 1111